<link rel="stylesheet" type="text/css" href="../js/plugins/fileinput/css/jquery.filer.css" media="screen, projection">
<!--右边栏 Start-->
<div class="container-fluid" id="activitycouponBody">
	<div class="row-fluid">
		<div class="span12">
			<div class="page-header fm-hd">
				<h4><span style="font-size:12px;">当前位置：营销工具&nbsp;&gt;&nbsp;</span>活动优惠券</h4>
			</div>
			<!-- 查询模块 Start -->
			<div class="fm-query">
				<div class="frmbox">
					<form id="excel" name="excel" style="display: none" method="post"></form>
					<form id="serchForm" name="serchForm">
						<div class="querybox">
							<div class="form-group">
								<label class="control-label">优惠券名称：</label>
								<div class="control-con">
									<input type="text" class="form-control" id="coupon_name" name="coupon_name" maxlength="30"/>
								</div>
							</div>
							<div class="form-group">
								<label class="control-label">关联商品名称：</label>
								<div class="control-con">
									<input type="text" class="form-control" id="goods_name" name="goods_name" maxlength="30"/>
								</div>
							</div>
							<div class="clearit"></div>
							<div class="form-group">
                                <label class="control-label">使用有效期：</label>
                                <div class="control-con">
                                	<input type="text" class="form-control w130" id="first_effective_date" name="first_effective_date" data-date-format="yyyy-mm-dd" readonly="readonly"  onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'end_effective_date\')||\'\'}'})"><span class="w40">到</span>
                                	<input type="text" class="form-control w130" id="end_effective_date" name="end_effective_date" data-date-format="yyyy-mm-dd" readonly="readonly" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'first_effective_date\')||\'\'}'})">
                                </div>
                                <div class="help-block with-errors"></div>
                            </div>
							<div class="form-group">
								<label class="control-label">状态：</label>
								<div class="control-con">
									<select class="form-control" id="coupon_status" name="coupon_status">
										<option value>全部</option>
										<option value="1">未开始</option>
										<option value="2">进行中</option>
										<option value="3">已过期</option>
										<option value="4">已失效</option>
									</select>
								</div>
							</div>
							<div class="clearit"></div>
						</div>
						<div class="querybtn">
							<button class="btn btn-primary serchBtn" type="button">搜索</button>
							<button class="btn btn-default resetBtn" type="button">重置</button>
						</div>
					</form>
				</div>
			</div>
			<!-- 查询模块 End -->
			<!-- 兑换券列表 Start -->
			<div class="order-list">
				<h4>
					<button class="btn btn-primary editBtn">
						新增优惠券
					</button>
				</h4>
				<div class="tabbable order">
					<ul class="nav nav-tabs" id="tabs-632335">
                        <li class="active">
                            <a href="#panel-1" data-toggle="tab" tab_value="51">满减优惠券</a>
                        </li>
                        <li>
                            <a href="#panel-2" data-toggle="tab" tab_value="53">商品特价优惠券</a>
                        </li>
                        <li>
                            <a href="#panel-3" data-toggle="tab" tab_value="52">企业团购抵用券</a>
                        </li>
                    </ul>
                    <div class="tab-content">
                    	<div class="tab-pane active" id="coupon_list">
                    		<!-- 优惠券列表 -->
                    	</div>
                    </div>
					
				</div>
				<!-- 兑换券列表 End -->
				<!-- 分页 Start -->
				<div class="pagebox" id="pageBox" style="display: none">
					<div class="numbox">共<span class="blue3" id="records">8</span>条记录</div>
					<ul class="pagination fm_pageination" id="page">
						<li>
							<a href="#">上一页</a>
						</li>
						<li class="active">
							<a href="#">1</a>
						</li>
						<li>
							<a href="#">2</a>
						</li>
						<li>
							<a href="#">3</a>
						</li>
						<li>
							<a href="#">4</a>
						</li>
						<li>
							<a href="#">5</a>
						</li>
						<li>
							<a href="#">下一页</a>
						</li>
					</ul>
				</div>
				<!-- 分页 End -->
			</div>
		</div>
	</div>
	<!--右边栏 End-->
	

	<!-- 添加编辑兑换券模态框（Modal） -->
	<div class="modal fade" id="coupon_modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
		<div class="modal-dialog" id="coupon_content">
			
		</div>
	</div>
</div>